
const { bizModel, bizDbModel } = require('../model/biz');
const logger = require('../config/logger');

class bizDbHelper {
    static async queryBizList(conditions) {
        const list = await bizDbModel.find(conditions).catch(err => {
            logger.error(err);
        });
        return list;
    }
}

module.exports = bizDbHelper;